package com.aya.simple;

import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.io.PrintWriter;
@RequestMapping
@Service
public class IndexService {
    @RequestMapping("service")
    public void index(PrintWriter writer)  {
        writer.println("service page");
    }
}
